package com.qiantu.api.entity;

public class SettingBean {

    private String userId;
    private String userSerialNo;
    private String phone;
    private SettingDTO setting;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserSerialNo() {
        return userSerialNo;
    }

    public void setUserSerialNo(String userSerialNo) {
        this.userSerialNo = userSerialNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public SettingDTO getSetting() {
        return setting;
    }

    public void setSetting(SettingDTO setting) {
        this.setting = setting;
    }

    public static class SettingDTO {
        private InterfaceCustomizationDTO interfaceCustomization;
        private Boolean agingAdaptation;
        private TouchFeedbackDTO touchFeedback;
        private MessageDTO message;
        private IntelligentControlModeDTO intelligentControlMode;
        private Boolean downloadInWifi;

        public InterfaceCustomizationDTO getInterfaceCustomization() {
            return interfaceCustomization;
        }

        public void setInterfaceCustomization(InterfaceCustomizationDTO interfaceCustomization) {
            this.interfaceCustomization = interfaceCustomization;
        }

        public Boolean isAgingAdaptation() {
            return agingAdaptation;
        }

        public void setAgingAdaptation(Boolean agingAdaptation) {
            this.agingAdaptation = agingAdaptation;
        }

        public TouchFeedbackDTO getTouchFeedback() {
            return touchFeedback;
        }

        public void setTouchFeedback(TouchFeedbackDTO touchFeedback) {
            this.touchFeedback = touchFeedback;
        }

        public MessageDTO getMessage() {
            return message;
        }

        public void setMessage(MessageDTO message) {
            this.message = message;
        }

        public IntelligentControlModeDTO getIntelligentControlMode() {
            return intelligentControlMode;
        }

        public void setIntelligentControlMode(IntelligentControlModeDTO intelligentControlMode) {
            this.intelligentControlMode = intelligentControlMode;
        }

        public Boolean isDownloadInWifi() {
            return downloadInWifi;
        }

        public void setDownloadInWifi(Boolean downloadInWifi) {
            this.downloadInWifi = downloadInWifi;
        }

        public static class InterfaceCustomizationDTO {
            private Boolean environmentalData;
            private Boolean pushBanner;
            //首页设备排布类型 1：房间类型 2：设备类型
            private Integer typesetting;

            public Boolean isEnvironmentalData() {
                return environmentalData;
            }

            public void setEnvironmentalData(Boolean environmentalData) {
                this.environmentalData = environmentalData;
            }

            public Boolean isPushBanner() {
                return pushBanner;
            }

            public void setPushBanner(Boolean pushBanner) {
                this.pushBanner = pushBanner;
            }

            public Integer getTypesetting() {
                return typesetting;
            }

            public void setTypesetting(Integer typesetting) {
                this.typesetting = typesetting;
            }
        }

        public static class TouchFeedbackDTO {
            private Boolean followSystem;
            private Boolean shock;
            private Boolean voice;

            public Boolean isFollowSystem() {
                return followSystem;
            }

            public void setFollowSystem(Boolean followSystem) {
                this.followSystem = followSystem;
            }

            public Boolean isShock() {
                return shock;
            }

            public void setShock(Boolean shock) {
                this.shock = shock;
            }

            public Boolean isVoice() {
                return voice;
            }

            public void setVoice(Boolean voice) {
                this.voice = voice;
            }
        }

        public static class MessageDTO{
            private Boolean receiveIntelligent;
            private Boolean receiveWarning;
            private Boolean receiveNotice;
            private Boolean openMute;
            private String startTime;
            private String endTime;

            public Boolean isReceiveIntelligent() {
                return receiveIntelligent == null ? false : receiveIntelligent;
            }

            public void setReceiveIntelligent(Boolean receiveIntelligent) {
                this.receiveIntelligent = receiveIntelligent;
            }

            public Boolean isReceiveWarning() {
                return receiveWarning == null ? false : receiveWarning;
            }

            public void setReceiveWarning(Boolean receiveWarning) {
                this.receiveWarning = receiveWarning;
            }

            public Boolean isReceiveNotice() {
                return receiveNotice == null ? false : receiveNotice;
            }

            public void setReceiveNotice(Boolean receiveNotice) {
                this.receiveNotice = receiveNotice;
            }

            public Boolean isOpenMute() {
                return openMute == null ? false : openMute;
            }

            public void setOpenMute(Boolean openMute) {
                this.openMute = openMute;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }
        }

        public static class IntelligentControlModeDTO{
            //智控模式 1:普通模式 2：局域网模式
            private Integer controlMode;

            public Integer getControlMode() {
                return controlMode;
            }

            public void setControlMode(Integer controlMode) {
                this.controlMode = controlMode;
            }
        }
    }
}
